package cn.credit.loan.service.customer;

import java.util.List;

import cn.credit.loan.entity.Customer;

public interface CustomerService {
	/**
	 * 用户基本信息列表
	 * @param customer
	 * @return
	 */
	public List<Customer> getCustomerList(Customer customer)throws Exception;
	
	
	/**
	 * 根据客户id查询客户基本信息
	 * @param customer
	 * @return
	 */
	public Customer getCustomerListById(Integer custId )throws Exception;
	
	
	/**
	 * 用户录入个人的基本信息
	 * @param customer
	 * @return
	 */
	public Boolean addCustomer(Customer customer)throws Exception;
	
	/**
	 * 修改用户录入个人信息
	 * @return 
	 * @throws Exception
	 */
	public Boolean updateCustomer(Customer customer)throws Exception;
	
	/**
	 * 
	 * @param customer
	 * @return
	 */
	public Customer getcustomer(Customer customer)throws Exception;
}
